package com.youpai.platform.chat.service.service;

import com.youpai.platform.chat.service.entity.dto.OfflineEventDTO;
import com.youpai.platform.chat.service.entity.dto.OnlineEventDTO;

/**
 * @date: 2022/7/16 20:50
 * @author: Anna
 * @version: 1.0
 * @description: vultureChatEvent
 */
public interface VultureChatEventFacadeInterface {

    /**
     * 上线事件
     *
     * @param onlineEventDTO 上线事件DTO
     */
    void onlineEvent(OnlineEventDTO onlineEventDTO);

    /**
     * 离线事件
     *
     * @param offlineEventDTO 离线时间DTO
     */
    void offlineEvent(OfflineEventDTO offlineEventDTO);
}
